package com.wchat.network.message.file;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

import com.wchat.network.message.Message;

@Root
public class RejectFileMessage extends Message {

	private static final long serialVersionUID = 2196322031466484396L;
	
	@Element
	private FileMessage originalMessage;
	
	@Override
	public byte getType() {
		return TYPE_REJECT_FILE;
	}

	public FileMessage getOriginalMessage() {
		return originalMessage;
	}

	public void setOriginalMessage(FileMessage originalMessage) {
		this.originalMessage = originalMessage;
	}

}
